package com.yycwxt.modules.admin.dpyy;

import com.yycwxt.common.BaseService;
import com.yycwxt.domain.Dpyy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;
@Service
@Transactional
public class DpyyService extends BaseService<DpyyMapper , Dpyy> {

    private DpyyMapper dpyyMapper;

    @Autowired
    public DpyyService(DpyyMapper dpyyMapper){this.dpyyMapper = dpyyMapper;}

    public List<Map<String, Object>> getdpyy(int zq){return dpyyMapper.getdpyy(zq);}

    // 下载源文件
    public List<String> getDpyyUrl(){
        return dpyyMapper.getDpyyUrl();
    }
}
